package com.bruce.pattern.structural.bridge;

import lombok.extern.slf4j.Slf4j;

/**
 * 定期账号
 * <p>
 * Created by bruce on 2018/11/6 21:31
 */
@Slf4j
public class DepositAccout implements Account {
    @Override
    public Account open() {
        log.info("打开定期账号");
        return new DepositAccout();
    }

    @Override
    public void showType() {
        log.info("定期账号");
    }
}
